﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;

/// <summary>
/// Summary description for Utils
/// </summary>
public class Utils
{
	public Utils()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public static bool IsImageFile(string MapPath)
    {
        string Extension = Path.GetExtension(MapPath);
        if (Extension == ".jpg" || Extension == ".png" || Extension == ".bmp")
        {
            return true;
        }
        return false;
    }
}